sdtypeenum module¶
-
class
sd.api.sdtypeenum.SDTypeEnum(APIContext, handle, *args, **kwargs)¶ Bases:
sd.api.sdtype.SDTypeClass used to store information about an enumeration type
-
getClassName() → str¶ Returns the most specific name of the class this APIObject is
-
getEnumerators() → sd.api.sdarray.SDArray[sd.api.sdproperty.SDProperty][sd.api.sdproperty.SDProperty]¶ Get the available enumerators
-
getId() → str¶ Get the type identifier string
-
getModifier() → sd.api.sdtype.SDTypeModifier¶ Get the type modifier (see SDTypeModifier enum)
-
release() → None¶ Releases an APIObject
-
static
sNew(sdTypeEnumId: str) → Optional[sd.api.sdtypeenum.SDTypeEnum]¶ Create a new SDTypeEnum from the specified name
- Parameters
sdTypeEnumId – The name of the SDTypeEnum type to retrieve
-